import 'package:flutter/cupertino.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_app/BaseMaterialWidget.dart';

class RotatedBoxedDemo extends BaseMaterialWidget {
  @override
  Widget buildContent(BuildContext context) {
    return Center(
        child: RotatedBox(
      quarterTurns: 3,//顺时针
      child: Text("RotatedBox旋转盒子", style: TextStyle(fontSize: 28)),
    ));
  }

  @override
  String getTitle() {
    return "旋转盒子";
  }
}
